package com.ltx.blog_ltx.mapper;


import com.ltx.blog_ltx.entity.pojo.Remark;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface RemarkMapper {
    //查出本博客下的所有评论
    List<Remark> AllRemark(int blogId);
    //添加评论
    int AddRemark(int remarkId, String remarkContent, int blogId, int userId, int parentId, Date createTime, String replyName);

}
